const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const memberLevelSchema = new Schema({
    grade_id: {
        type: String,
        unique: true,
        required: true
    },
    memberLevel: {
        type: String,
        unique: true,
        required: true
    },
    money: {
        type: Number,
        unique: true,
        required: true
    },
    discount: {
        type: Number,
        unique: true,
        required: true
    }
});
module.exports = mongoose.model('level of membership', memberLevelSchema);